package org.example.dao;

import org.example.model.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherDao {
    public  int addTeacher(Teacher teacher);
    public int updateTeacher(Teacher teacher);
    public int deleteTeacher(int teacherId);

    public Teacher queryTeacherById(int teacherId);

    public List<Teacher> queryTeacher();
    int deleteTeachers(List<Integer> ids);

    List<Teacher> queryTeacherByCondition(Map parameters);

    List<Map<String, Object>> queryTeacherDept();
}
